Tile = {
	index = 0,
	texture = 0,
	obstruction = 0,
	occupied = 0,
	elevation = 0,
	offset = 0
}

function Tile:new(o)
	o = o or {}
	setmetatable(o, self)
    self.__index = self
    return o	
end
	
-- Metodos
function Tile:get_index()
	return self.index
end
	
function Tile:get_texture()
	return self.texture
end
	
function Tile:get_obstruction()
	return self.obstruction
end
	
function Tile:get_elevation()
	return self.elevation
end
	
function Tile:get_offset()
	return self.offset
end
	
function Tile:set_index(index)
	self.index = index
end
	
function Tile:set_texture(texture)
	self.texture = texture
end
	
function Tile:set_obstruction(obstruction)
	self.obstruction = obstruction
end

function Tile:set_occupied(id)
	self.occupied = id
end

function Tile:get_occupied()
	return self.occupied
end
	
function Tile:set_elevation(elevation)
	self.elevation = elevation
end
	
function Tile:set_offset(offset)
		self.offset = offset
end